home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / linkbutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-20  |  2.0 KB  |  59 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. /***************************************************************************
  8.                           linkbutton.h  -  description
  9.                              -------------------
  10.     begin                : Wed Jul 11 2001
  11.     copyright            : (C) 2001 by Franz Schmid
  12.     email                : Franz.Schmid@altmuehlnet.de
  13.  ***************************************************************************/
  14.  
  15. /***************************************************************************
  16.  *                                                                         *
  17.  *   This program is free software; you can redistribute it and/or modify  *
  18.  *   it under the terms of the GNU General Public License as published by  *
  19.  *   the Free Software Foundation; either version 2 of the License, or     *
  20.  *   (at your option) any later version.                                   *
  21.  *                                                                         *
  22.  ***************************************************************************/
  23.  
  24. #ifndef LINKBUTTON_H
  25. #define LINKBUTTON_H
  26.  
  27. #include <QToolButton>
  28. #include "scribusapi.h"
  29.  
  30. /**
  31.   *@author Franz Schmid
  32.   */
  33.  
  34. class SCRIBUS_API LinkButton : public QToolButton
  35. {
  36. public: 
  37.     /*!
  38.     \author Franz Schmid
  39.     \brief Constructor for Link buttons
  40.     \param pa Parent Window
  41.      */
  42.     LinkButton(QWidget *pa);
  43.     ~LinkButton() {};
  44.     /*!
  45.     \author Franz Schmid
  46.     \brief Returns size of QPixmap, see the Qt-Documentation for further explaining of that.
  47.     \retval QSize size
  48.     */
  49.     virtual QSize sizeHint() const;
  50.     /*!
  51.     \author Franz Schmid
  52.     \brief Returns minimum size of QPixmap, see the Qt-Documentation for further explaining of that.
  53.     \retval QSize size
  54.     */
  55.     virtual QSize minimumSizeHint() const;
  56. };
  57.  
  58. #endif
  59.